<?php 
class Shangku_ReviewsWithImg_Helper_Data extends Mage_Core_Helper_Abstract
{
	public function getReviewImages(Mage_Review_Model_Review $review)
	{
		$collection = Mage::getModel('reviewswithimg/review_image')->getCollection()
			->setReviewFilter($review);
		 
		return $collection;
	}
}